package com.liqi.frame.comm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by liqi on 2019/9/26 0026.
 */
@Component
@ConfigurationProperties(prefix = "app.shiro")
@Data
public class ShiroProperties {
    private long sessionTimeout;
    private String sessionIdName;
    /**
     * 是否使用缓存，off:不使用
     */
    private String useCache;
}
